QAGetPtr
You can use theQAGetPtr
function to get a pointer value of a draw context state variable.
#define QAGetPtr(drawContext,tag) \ (drawContext)->getPtr (drawContext,tag)
drawContext
- A draw context.
tag
- A state variable tag.
DESCRIPTION
TheQAGetPtr
function returns, as its function result, the pointer value of the draw context state variable specified by thedrawContext
andtag
parameters. If the specified tag is not recognized or supported by that draw context,QAGetPtr
returns the value 0.